﻿@model AssetManageSystem.ViewModel.AssetManage.AssetAllocationVMs.AssetAllocationListVM
@inject IStringLocalizer<Program> Localizer;

<wt:searchpanel vm="@Model" reset-btn="true">
    <wt:row items-per-row="ItemsPerRowEnum.Four">
        <wt:combobox field="Searcher.OldDepId" items="Searcher.AllOldDeps" empty-text="@Localizer["Sys.All"]" link-field="Searcher.OldUserId" trigger-url="/OrgManage/user/GetUserByDep" />
        <wt:combobox field="Searcher.OldUserId" items="Searcher.AllOldUsers" empty-text="@Localizer["Sys.All"]" />
        <wt:combobox field="Searcher.NewDepId" items="Searcher.AllNewDeps" empty-text="@Localizer["Sys.All"]"  link-field="Searcher.NewUserId" trigger-url="/OrgManage/user/GetUserByDep"/>
        <wt:combobox field="Searcher.NewUserId" items="Searcher.AllNewUsers" empty-text="@Localizer["Sys.All"]" />
    </wt:row>
</wt:searchpanel>
<wt:grid vm="@Model" url="/AssetManage/AssetAllocation/Search" />
